import React from 'react';
import {injectIntl} from 'react-intl';
import Grid from '../../components/table/grid';
import {Row, Button, Form} from 'antd';

const FormItem = Form.Item;
const createForm = Form.create;
class elePriceInfo extends React.Component {
    constructor() {
        super();
        this.state = {
            refresh:0,
            params:{},
            publicPrices: [],
            privatePrices: []
        }
        this.columns=[
            {
                title: '13',
                dataIndex: 'account',
            },
            {}
        ]
    }

    render(){
        return (
            // <div>/api/stubGroup/feeTemplate/list</div>
            <div>
                <Row type="flex" justify="end">
                    <Button type={'primary'}>新增</Button>
                </Row>
                <Grid style={{marginTop:20}} refresh={this.state.refresh} columns={this.columns} params={this.state.params} url={'/api/stubGroup/feeTemplate/list'}/>
            </div>
        )
    }
}

elePriceInfo=createForm()(elePriceInfo);
export default injectIntl(elePriceInfo);
